package xyz.scootaloo.common

import cn.hutool.core.lang.Console
import junit.framework.Assert.assertEquals

/**
 * @author flutterdash@qq.com
 * @since 2021/7/1 10:34
 */
interface TestDsl {

    infix fun Any?.shouldBe(expected: Any?) {
        assertEquals(expected, this)
    }

    fun Any?.log() {
        Console.log(this)
    }

    fun pause(obj: Any? = null) {}

}
